/* 批注面板 */

.AnnotationCard {
    position: relative;
    display: flex;
    margin: 6px 16px;
    height: auto;
    left: 0;
    background-color: #faffff;
    z-index: 60;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    border-radius: 4px;
    box-shadow: 0 0 1px 0 #868196;
    user-select: none;

    cursor: pointer;
}

.AnnotationActive{
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
    border-width: 1px;
    border-color:#a0a0a0;
}

.annotation_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin: 10px 5px;
    width: calc( 100% - 40px );
}

.annotation_Card_Body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: flex-start;
    width: calc( 100% - 40px );
}

.annotation_info_body{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-self: flex-start;
    width: 100%;
}

.annotation_op{
    position: absolute;
    align-items: flex-end;
    margin: 0,auto;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.AnnotationCard .annotation_name {
    font-size: 11px;
    color: rgb(80, 80, 80);
    margin: 3px 0px;

}

.annotation_time {
    font-size: 11px;
    color: gray;
    margin: 1px 0px;
    /* white-space: nowrap; */
    word-wrap: break-word;
}

.annotation_type {

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: none;
    margin: 19px auto auto;

}

.annotation_Bt_css{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-left: solid 1px #d1d1d1;
    width: 40px;
    height: 100%;
    margin: auto;
}

.annotation_content {
    font-size: 12px;
    color: #414243;
    margin: 5px 0 0 0;
    word-break: break-all;
    white-space: normal;
}

.comment_component {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #d1d1d1;
}

.note_header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-self: flex-start;
    width: 100%;
}

/* 评论输入框样式 */
.comment_textarea {
    display: flex;
    position: relative;
    flex: 1;
    margin: 13px 6px 12px 12px;
    border: 1px solid;
    border-radius: 4px;
    border-color: #cfd4da;
    align-items: center;
    resize: none;
    height: 24px;
    font-size: 12px;
    overflow-y: hidden;
    text-align: left;
}

.annotation_replys {

    margin-left: 5px;
    border-left: solid 1px #d1d1d1;
    width: calc( 100% - 5px );
}

.reply_info {
    margin: 5px;
}

.annotation_header{
    display: flex;
    flex-direction: row;
}

.annotation_header_info{
    display: flex;
    flex-direction: column;
}

.btn_annotation_op{
    position: absolute;
    display: flex;
    flex-direction: row;
    right: 10px;
}

/* 修改评论组件样式 */
.comment_component_edit{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 评论确认按钮组样式 */
.comment_edit_btn{
    display: flex;
    flex-direction: row;
}

.textarea_edit{
    width: 100%;
    min-height: 20px;
    max-height: 300px;
    
    margin: auto;
    outline: 0;
    border-radius: 4px;
    border: 1px solid #cfd4da;
    font-size: 12px;
    line-height: 20px;
    word-wrap: break-word;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: text;
}


.textarea_edit_reply{
    min-height: 20px;
    max-height: 300px;
    outline: 0;
    border-radius: 4px;
    border: 1px solid #cfd4da;
    font-size: 12px;
    line-height: 20px;
    word-wrap: break-word;
    overflow-x: hidden;
    overflow-y: auto;
    width: calc( 100% - 50px );
    margin: 8px;
    cursor: text;
}

.textarea_edit:focus {
    border: 2px solid;
    border-color: #3183c8;
}
.textarea_edit::selection{
    background-color: rgba(0, 0, 255, 0.3);
    color: #0a0b0c;
}

.textarea_edit_bt{
    display: flex;
    width: 50px;
    height: 36px;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    margin: auto;
    gap: 10px;
}